﻿<Window x:Class="AdminMainUI.ConnectWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Connect to Cluster" Height="234" Width="439" Icon="/Appfabric Administrator;component/Images/server.ico">
    <Grid Height="189" Width="407">
        <ComboBox Height="24" HorizontalAlignment="Left" Margin="12,25,0,0" VerticalAlignment="Top" Width="383" ItemsSource="{Binding}" Name="cmbProviderType" SelectionChanged="cmbProviderType_SelectionChanged" ToolTip="The provider used to store the cluster configuration settings.">
            <ComboBoxItem Name="cbiXML" IsSelected="True" ToolTip="Cluster configuration stored in shared location as XML">XML</ComboBoxItem>
            <ComboBoxItem Name="cbiSQL" ToolTip="Cluster configuration stored in SQL Server" >System.Data.SqlClient</ComboBoxItem>
        </ComboBox>
        <GroupBox Header="XML Location" Name="grpProvider" Height="72" HorizontalAlignment="Left" Margin="12,71,0,0" VerticalAlignment="Top" Width="383">
            <Grid Height="52" Width="376">
                <Button Content="Browse" Height="23" HorizontalAlignment="Left" Margin="290,17,0,0" Name="btnBrowse" VerticalAlignment="Top" Width="75" Click="btnBrowse_Click" ToolTip="Select the XML cluster configuration file."/>
                <TextBox Height="23" HorizontalAlignment="Left" Margin="6,17,0,0" Name="txtSharedLocation" VerticalAlignment="Top" Width="278" ToolTip="The connection string to the provider that contains the cache cluster configuration store."/>
            </Grid>
        </GroupBox>
        <Button Content="Ok" Height="23" HorizontalAlignment="Left" Margin="227,154,0,0" Name="btnOk" VerticalAlignment="Top" Width="75" Click="btnOk_Click" ToolTip="Connect to the cluster."/>
        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="308,154,0,0" Name="btnCancel" VerticalAlignment="Top" Width="75" Click="btnCancel_Click" ToolTip="Close this window without connecting."/>
    </Grid>
</Window>
